FROM java:8

COPY *.jar /ar-advertising.jar

CMD ["--server.port = 9001"]

EXPOSE 9001

ENTRYPOINT ["java","-Xms64m","-Xmx256m","-jar","ar-advertising.jar"]

VOLUME /mydata/log/ar-advertising

